export const baseRouter = [
	{
		path: '/login',
		name: 'login',
		component: () => import('@/views/common/login'),
		meta: {
			title: '登录',
			path: '/login'
		}
	},
	{
		path: '/register',
		name: 'register',
		component: () => import('@/views/common/login/register'),
		meta: {
			title: '注册',
			path: '/register'
		}
	},
	{
		path: '/newRegister',
		name: 'newRegister',
		component: () => import('@/views/common/login/newRegister'),
		meta: {
			title: '注册',
			path: '/newRegister'
		}
	},
	{
		path: '/401',
		name: 'error_401',
		meta: {
			show: false
		},
		component: () => import('@/views/common/errorPage/401.vue')
	},
	{
		path: '/500',
		name: 'error_500',
		meta: {
			show: false
		},
		component: () => import('@/views/common/errorPage/500.vue')
	},
	{
		path: '*',
		name: 'error_404',
		meta: {
			show: false
		},
		component: () => import('@/views/common/errorPage/404.vue')
	}
]


export const commonRouter = {

	path: '/',
	name: '_home',
	component: () => import('@/layout/Home'),
	children: [

	]
}
